﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microhard.Core.Security;

namespace TestProject
{
    [TestClass]
    public class SessionSecurity
    {
        //[TestMethod]
        //public void TestMethod1()
        //{

        //    string token = Microhard.WeixinMP.Unities.SessionSecurity.CreateToken("oqh0Aj9MXgpKGJqa1pCBnEa_2tlc");

        //    Microhard.WeixinMP.Unities.SessionSecurity.IsAuthToken(token, "oqh0Aj9MXgpKGJqa1pCBnEa_2tlc");
        //}

        //[TestMethod]
        //public void TestMethod2()
        //{
        //    string copy = "fc76c4a86c56becc717a88f651264622";
        //    string password = MD5Enc.UserMd5("123@abc").ToLower();
        //    Assert.AreEqual(copy, password);
        //}
    }
}
